The Communications Data Viewer is a client-side logging tool for troubleshooting remote device communications. It provides a method to view data transmitted between the host and field devices, and to save the data to a file for off-line analysis. Thoroughly understanding your field device protocol is essential for proper use of this tool.
Common viewable and savable data types include message timestamp, number of bytes sent, device ID, message validity, message description, and protocol bytes (including header, data, and footer). Data can be viewed per remote device or communication device and automatically logged to a file. By default, the UIS stores the last 20 message sequences for a remote device. However, if you check the Auto Refresh option, you can log more than 20 messages in the viewer. If you then close the viewer and re-open it, only the last 20 message sequences are shown.
Click the following image to see a sample Communications Data Viewer dialog box:
For similar, but more in-depth, functionality, see the CygNet CRC Generator Utility.
To Open the Communications Data Viewer from a DDS
To Open the Communications Data Viewer from a UIS
To Log Data to a File
Note: Data logging begins as soon as this option is enabled. But the file is not back-filled with the data shown in the viewer prior to the option being enabled.
Note: The data is not written to the log file until the Communications Data Viewer and the Device Editor are closed.
When you click Details on the Communications Data Viewer, the following dialog box opens, presenting an in-depth view of selected byte details. The Communications Data Viewer converts highlighted hex bytes to decimal values in both Big Endian and Little Endian format. These converted values are displayed in the Parsed Values section of the Communication Data Details dialog box along with the byte’s ASCII representation, if relevant.
Click the following image to see a sample Communication Data Details dialog box:
To Select Communications Data for Advanced Details
After clicking Details to open the Communication Data Details dialog box, highlight bytes on the Communications Data Viewer that you want to view advanced details for. The Communication Data Details dialog box dynamically interacts, filling Communication Data Details fields.
To (Re)Calculate the Cyclic Redundancy Check
To Parse All Selected Values
Clicking Parse All Sel Values displays selected value bytes on their own rows in a grid in various numeric formats. Numeric formats include hex, binary, integer, decimal, floating point, and other. The ASCII format is displayed as well.
The Parsed Values table provides the following functionality: